package com.oo.inherit_3.school;

/**
 * Test--${description}
 *
 * @author: Jovi
 * @createTime: 2017-05-09 13:45
 **/
public class Test {

    public static void main(String[] args) {
        Person p = new Person();
        p.intro();
        p.sleep();

        System.out.println("==============");

        Teacher t = new Teacher("七海天", 42, "男", "中国近代史", 15);
        t.intro();
        t.teach();
        t.sleep();

        System.out.println("==============");

        Student s = new Student("Jam", 20, "男", 1980);
        s.intro();
        s.study();
        s.sleep();
    }
}
